﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    public class Order
    {
        private decimal totalAmount = Convert.ToDecimal(0.00);
        public String OrderId { get; set; }
        public String OrderStatus { get; set; }
        public decimal TotalAmount
        {
            get { return totalAmount; }
            set { totalAmount = value; }
        }
        public DateTime OrderDate { get; set; }
        public String PaymentType { get; set; }
        public String OrderBank { get; set; }
        public String OrderAccount { get; set; }
        //public String OrderType { get; set; }
        public String StuId { get; set; }
    }
    //水电费
    public class UtilitiesHistoryOrder : Order
    {
        public String UtilityId { get; set; }
    }
    //校园网费
    public class CampusNetworkHistoryOrder : Order
    {
        public String portId { get; set; }
    }
    //学生卡充值
    public class StudentCartHistoryOrder : Order
    {
        public String stuCardId { get; set; }
    }


    //其他费
    public class ProjectOrder : Order
    {
        public List<OrderDetail> OrderDetail { get; set; }
        public int ProjectId { get; set; }
    }

}
